package com.ios.service;
import com.ios.dto.DisablerExecution;
import com.ios.entity.DisablerUser;
import org.springframework.stereotype.Service;

import java.io.InputStream;

/**
 * Created by LiuZhe
 * Date : 18-5-10
 * Time : 下午9:32
 * 残疾人Service
 */
@Service
public interface IDisablerService {
    /**
    *@Author:WenTao
    *@Description:残疾人用户注册
    *@Date:9:46 2018/7/26
    */
    DisablerExecution RegisterDisablerUser(String username,String password_1,String password_2);
    /**
    *@Author:WenTao
    *@Description:残疾人用户信息完善
    *@Date:10:15 2018/7/17
    */
    DisablerExecution CompleteRegisterDisablerUser(DisablerUser disablerUser
                            , InputStream HeadImgInputStream
                            , String fileName);

    /**
    *@Author:WenTao
    *@Description:残疾人用户登录
    *@Date:18:07 2018/7/17
    */
    DisablerExecution LoginDisablerUser(String username,String password);

    /**
    *@Author:WenTao
    *@Description:残疾人用户登录验证
    *@Date:15:07 2018/7/26
    */
    DisablerExecution CheckLoginDisablerUser(int id);

    /**
    *@Author:WenTao
    *@Description:根据用户名查询残疾人用户基本信息
    *@Date:8:55 2018/7/18
    */
    DisablerExecution QueryDisablerUser(String username);

    /**
    *@Author:WenTao
    *@Description:残疾人用户基本信息修改
    *@Date:15:50 2018/7/18
    */
    DisablerExecution EditDisablerUserInfo(DisablerUser disablerUser
            , InputStream HeadImgInputStream
            ,String filname);

}
